import request from '@/utils/request'

// 查询商店和自提点关联列表
export function listStoreCenters(query) {
  return request({
    url: '/shop/store/centers/list',
    method: 'get',
    params: query
  })
}

// 新增商店和自提点关联
export function addStoreCenters(data) {
  return request({
    url: '/shop/store/centers',
    method: 'post',
    data: data
  })
}

// 删除商店和自提点关联
export function delStoreCenters(data) {
  return request({
    url: '/shop/store/centers/delete',
    method: 'post',
    data: data
  })
}
